package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 外聘和兼职教师基本信息
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_external")
public class TeaExternal {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    private String birthday;

    /**
     * 聘任时间
     */
    @TableField(value = "appointday")
    private String appointday;

    /**
     * 任职状态
     */
    @TableField(value = "appoint_state")
    private Long appointState;

    /**
     * 聘期
     */
    @TableField(value = "appoint_len")
    private Integer appointLen;

    /**
     * 单位id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 学历
     */
    @TableField(value = "education_id")
    private Long educationId;

    /**
     * 最高学位
     */
    @TableField(value = "degree_id")
    private Long degreeId;

    /**
     * 专业技术职称
     */
    @TableField(value = "technical_id")
    private Long technicalId;

    /**
     * 工作单位类别
     */
    @TableField(value = "work_id")
    private Long workId;

    /**
     * 承担本科教学任务
     */
    @TableField(value = "teaching_task")
    private String teachingTask;

    /**
     * 地区
     */
    @TableField(value = "nationality")
    private String nationality;
}